/* 声破天 Premium 页面样式 */

/* Premium页面样式 */
:root {
    --premium-color: #1DB954;
    --premium-color-dark: #1aa34a;
    --premium-color-light: #1ED760;
    --premium-text: #FFFFFF;
    --premium-bg: #121212;
    --premium-card-bg: #181818;
    --premium-border: #282828;
    --premium-hover: #222222;
}

body {
    background-color: var(--premium-bg);
    color: var(--premium-text);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* 顶部英雄区域 */
.premium-hero {
    background: linear-gradient(45deg, #1DB954, #1ed760, #2ebd59);
    padding: 80px 32px;
    text-align: center;
    margin-bottom: 40px;
}

.premium-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.premium-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #fff;
}

.premium-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Premium容器 */
.premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 60px;
}

.premium-container h2 {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
}

/* Premium特性 */
.premium-intro {
    margin-bottom: 60px;
}

.premium-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.premium-feature {
    flex: 1;
    min-width: 220px;
    background-color: #181818;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s, background-color 0.3s;
}

.premium-feature:hover {
    background-color: #282828;
    transform: translateY(-5px);
}

.premium-feature i {
    font-size: 32px;
    color: #1DB954;
    margin-right: 16px;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-text p {
    color: #b3b3b3;
    font-size: 14px;
}

/* 订阅计划部分 */
.premium-plans-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}

.premium-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.premium-plan-card {
    background-color: #181818;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #282828;
}

.premium-plan-card:hover {
    background-color: #1e1e1e;
    transform: translateY(-5px);
    border-color: #333;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.plan-cost {
    font-size: 32px;
    font-weight: 700;
    color: #1DB954;
    margin-bottom: 5px;
}

.plan-period {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 10px;
}

.plan-description {
    color: #b3b3b3;
    font-size: 14px;
    margin-bottom: 20px;
}

.plan-features-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.plan-feature-item {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.plan-feature-item i {
    color: #1DB954;
    margin-right: 10px;
    font-size: 14px;
}

.plan-button {
    background-color: #1DB954;
    color: #fff;
    border: none;
    border-radius: 500px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: auto;
}

.plan-button:hover {
    background-color: #1ed760;
    transform: scale(1.03);
}

.current-plan {
    background-color: #777;
    cursor: default;
}

.current-plan:hover {
    background-color: #777;
    transform: none;
}

.upgrade-plan {
    background-color: #1e88e5;
}

.upgrade-plan:hover {
    background-color: #1976d2;
}

/* 比较表格样式 */
.premium-compare {
    margin-bottom: 60px;
}

.compare-table {
    overflow-x: auto;
    margin-top: 30px;
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.compare-table th {
    background-color: #282828;
    font-weight: 600;
}

.compare-table tr:nth-child(even) {
    background-color: #181818;
}

.compare-table tr:hover {
    background-color: #282828;
}

.compare-table i.fa-check {
    color: #1DB954;
}

.compare-table i.fa-times {
    color: #ff4d4f;
}

/* FAQ部分 */
.premium-faq {
    margin-bottom: 60px;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    background-color: #181818;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #b3b3b3;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA部分 */
.premium-cta {
    text-align: center;
    background-color: #282828;
    padding: 48px;
    border-radius: 12px;
}

.premium-cta h2 {
    margin-bottom: 12px;
}

.premium-cta p {
    color: #b3b3b3;
    margin-bottom: 24px;
}

.premium-cta-btn {
    background-color: #1DB954;
    color: #fff;
    border: none;
    border-radius: 500px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.premium-cta-btn:hover {
    background-color: #1ed760;
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .premium-hero {
        padding: 60px 24px;
    }
    
    .premium-hero h1 {
        font-size: 36px;
    }
    
    .premium-feature {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .premium-hero {
        padding: 40px 16px;
    }
    
    .premium-hero h1 {
        font-size: 32px;
    }
    
    .premium-container {
        padding: 0 16px 40px;
    }
    
    .premium-container h2 {
        font-size: 24px;
    }
    
    .premium-feature {
        min-width: 100%;
    }
    
    .premium-cta {
        padding: 32px 16px;
    }
}

@media (max-width: 576px) {
    .premium-hero h1 {
        font-size: 28px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 12px 8px;
        font-size: 14px;
    }
}

/* 当前订阅信息区域样式 */
.current-subscription-info {
    background-color: #181818;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #282828;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 16px;
}

.subscription-header h2 {
    margin: 0;
    font-size: 22px;
}

.view-details-btn {
    color: #1DB954;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.view-details-btn:hover {
    color: #1ed760;
}

.subscription-details {
    display: flex;
    margin-bottom: 24px;
}

.subscription-details .plan-icon {
    width: 50px;
    height: 50px;
    background-color: #1DB954;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.subscription-details .plan-icon i {
    font-size: 24px;
}

.subscription-details .plan-info {
    flex: 1;
}

.subscription-details h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.subscription-details .plan-price {
    margin: 0 0 5px;
    font-weight: 600;
}

.subscription-actions {
    display: flex;
    gap: 12px;
}

.subscription-action-btn {
    padding: 10px 16px;
    border-radius: 500px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.subscription-action-btn:first-child {
    background-color: #1DB954;
    color: #fff;
    border: none;
}

.subscription-action-btn:first-child:hover {
    background-color: #1ed760;
}

.subscription-action-btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #555;
}

.subscription-action-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}